/*
 * Created on 25/03/2010
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.stefanini.pe.bbva.mbl.in.bo;

import java.util.List;

import com.stefanini.pe.bbva.mbl.carga.in.to.CargaLogDetalle;
import com.stefanini.pe.bbva.mbl.carga.in.to.CargaLogDetalleKey;
import com.stefanini.pe.bbva.mbl.in.bo.iface.CargaLogDetalleBO;
import com.stefanini.pe.bbva.mbl.in.dao.iface.CargaLogDetalleDAO;

/**
 * @author LTORRES
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class CargaLogDetalleBOImpl implements CargaLogDetalleBO {
	CargaLogDetalleDAO cargaLogDetalleDAO;
	
	/**
	 * @param cargaLogDetalleDAO
	 */
	public CargaLogDetalleBOImpl(CargaLogDetalleDAO cargaLogDetalleDAO) {
		super();
		this.cargaLogDetalleDAO = cargaLogDetalleDAO;
	}
	
	
	/**
	 * @return Returns the cargaLogDetalleDAO.
	 */
	public CargaLogDetalleDAO getCargaLogDetalleDAO() {
		return cargaLogDetalleDAO;
	}
	/**
	 * @param cargaLogDetalleDAO The cargaLogDetalleDAO to set.
	 */
	public void setCargaLogDetalleDAO(CargaLogDetalleDAO cargaLogDetalleDAO) {
		this.cargaLogDetalleDAO = cargaLogDetalleDAO;
	}
	
	
	/**
	 * @param key
	 * @return
	 */
	public int deleteByPrimaryKey(CargaLogDetalleKey key) {
		return cargaLogDetalleDAO.deleteByPrimaryKey(key);
	}
	/**
	 * @param record
	 */
	public void insert(CargaLogDetalle record) {
		cargaLogDetalleDAO.insert(record);
	}
	/**
	 * @param record
	 */
	public void insertSelective(CargaLogDetalle record) {
		cargaLogDetalleDAO.insertSelective(record);
	}
	/**
	 * @param key
	 * @return
	 */
	public CargaLogDetalle selectByPrimaryKey(CargaLogDetalleKey key) {
		return cargaLogDetalleDAO.selectByPrimaryKey(key);
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return cargaLogDetalleDAO.toString();
	}
	/**
	 * @param record
	 * @return
	 */
	public int updateByPrimaryKey(CargaLogDetalle record) {
		return cargaLogDetalleDAO.updateByPrimaryKey(record);
	}
	/**
	 * @param record
	 * @return
	 */
	public int updateByPrimaryKeySelective(CargaLogDetalle record) {
		return cargaLogDetalleDAO.updateByPrimaryKeySelective(record);
	}


	/* (non-Javadoc)
	 * @see com.stefanini.pe.bbva.iipg.in.bo.iface.CargaLogDetalleBO#selectByCriteria(com.stefanini.pe.bbva.mbl.carga.in.to.CargaLogDetalleKey)
	 */
	public List selectByCriteria(CargaLogDetalleKey record) {
		// TODO Auto-generated method stub
		return cargaLogDetalleDAO.selectByCriteria(record);
	}
}
